package guo.pojo;

public class Product {
    private String proName;
    private Integer price;

    static {
        System.out.println("product static block");
    }

    public Product(){

    }
    public Product(String proName,Integer price){
        this.price = price;
        this.proName = proName;
    }

    private String productPri(){
        return "price is so big";
    }

    @Override
    public String toString() {
        return "Product{" +
                "proName='" + proName + '\'' +
                ", price=" + price +
                '}';
    }
}
